import request from '@/utils/request'

export function getProjectList2 (params) {
	return request({
		url: '/basic-api/zd/project/getProjectList2',
		method: 'get',
		params
	})
}

export function addProject (data) {
	return request({
		url: '/basic-api/zd/project/add',
		method: 'post',
		data
	})
}

export function updateProject (data) {
	return request({
		url: '/basic-api/zd/project/update',
		method: 'post',
		data
	})
}

export function removeProject (id) {
	return request({
		url: '/basic-api/zd/project/remove/' + id,
		method: 'post',
	})
}
export function ifuse (id) {
	return request({
		url: '/basic-api/zd/project/ifUse/' + id,
		method: 'post',
	})
}

